﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using D2.PathfinderHub.ViewModel;
using D2.Pathfinder.Data;

namespace D2.PathfinderHub
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {


        public MainWindow()
        {
            Settings settings = new Settings()
            {
                Characters = new List<Character>() { new Character() { Name = "Blaak", Alignment = "CE" } },
                Alignments = new List<AlignmentDef>() { new AlignmentDef() { Key = "CE", Name = "Chaotic Evil" }, new AlignmentDef() { Key = "LG", Name = "Lawful Good" } }
            };
            SettingsManager.Initialize(settings);
            DataContext = new CharacterManagerViewModel(settings);
            InitializeComponent();
        }
    }
}
